package org.jeecg.modules.arc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.arc.entity.BaseSubWaterPrices;
import org.jeecg.modules.arc.entity.BaseWaterPrices;
import org.jeecg.modules.arc.vo.BaseWaterPricesVo;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 用水价格
 * @Author: jeecg-boot
 * @Date:   2022-02-13
 * @Version: V1.0
 */
public interface IBaseWaterPricesService extends IService<BaseWaterPrices> {

	/**
	 * 添加一对多
	 *
	 */
	public void saveMain(BaseWaterPrices baseWaterPrices,List<BaseSubWaterPrices> baseSubWaterPricesList) ;

	/**
	 * 修改一对多
	 *
	 */
	public void updateMain(BaseWaterPrices baseWaterPrices,List<BaseSubWaterPrices> baseSubWaterPricesList);

	/**
	 * 删除一对多
	 */
	public void delMain (String id);

	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);

	/**查询用水性质的用水价格记录*/
	List<BaseWaterPricesVo>queryWaterPriceByNatureId(String natureId,String isAlien);


}
